<%--
  Created by IntelliJ IDEA.
  User: MR.W
  Date: 2021/10/21
  Time: 9:48
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>Title</title>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/layui/css/layui.css">
    <style>
        .item{
            margin-bottom: 30px;
            text-align: center;
        }
        .submit{
            text-align: center;
            margin-top: 30px;
            margin-bottom: 40px;
        }
        .item select{
            width: 100%;
            height: 30px;
        }
        input[type="text"]{
            margin-top: 10px;
            margin-bottom: 10px;
            width: 70%;
            height: 40px;
            background-color: rgba(255,255,255,0.8);
            border: 1px;
            border-radius: 40px 40px;
            font-size: 15px;
            color: rgba(47,47,47,0.8);
            padding-left: 10px;
        }
        input[type="text"]:focus{
            outline: none;
        }
        input[type="text"]::placeholder{
            padding-left: 10px;
        }
        h1{
            text-align: center;
        }
        button{
            background-color: rgba(47,47,47,0.5);
            color: #E5DFD5;
            border: 0px;
            height: 40px;
            width: 140px;
            border-radius: 5px 5px;
            margin-right: 5px;
            margin-left: 5px;
            margin-bottom: 25px;
        }
        button:hover{
            color: whitesmoke;
            background-color: rgba(47,47,47,0.3);
        }
    </style>
</head>
<body>
    <div style="width: 96%;margin: 30px auto 0px auto;">
        <div style="width: 300px;margin:20px auto 20px auto;text-align: center;color: red">${msg}</div>
        <form class="layui-form" action="${pageContext.request.contextPath}/roomCategoryUpdate" method="post">
            <div class="item">
                <input type="text" name="category" required  lay-verify="required" value="${roomCategory.roomCategoryName}" autocomplete="off" class="layui-input">
                <input type="hidden"  name="roomCategoryId" value="${roomCategory.roomCategoryId}">
            </div>
            <div class="submit">
                <button type="submit" class="layui-btn" lay-submit lay-filter="formDemo">立即保存</button>

            </div>
        </form>
    </div>
</body>
</html>
<script href="${pageContext.request.contextPath}layui/layui.all.js"></script>
